//
//  IMPHomeTableVC.swift
//  MySina
//
//  Created by imppppp on 16/5/19.
//  Copyright © 2016年 IMP. All rights reserved.
//

import UIKit

class IMPHomeTableVC: IMPVistorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        visitorView.updateUI("visitordiscover_feed_image_smallicon", title: "关注一些人，回到这里看看有什么惊喜", isHome: true)
        setupBarButtonItem()
    }

    private func setupBarButtonItem(){
        
        let rightBtn = UIBarButtonItem(imageName: "navigationbar_pop", target: self, action: #selector(rightBtnClick))
        navigationItem.rightBarButtonItem = rightBtn
    }
    
    @objc private func rightBtnClick(){
        
        let detailVC = IMPDetailVC()
        
        self.navigationController?.pushViewController(detailVC, animated: true)
    }

}
